<template>
  <div width="60px">
    <p style="text-align: left"><el-button @click="back">返回</el-button></p>
    <el-row>
      <el-col :span="12">
         <img width="500px" height="600px" border="1px" :src="imgUrl(row.profile)"/>
      </el-col>

      <el-col :span="6">
        {{row.info}}

      </el-col>
    </el-row>
  </div>

</template>

<script>
export default {
  name:"ShiRenXiangQing",
  data() {
    return {
      dialogVisible: false,
      row: {}
    }
  },
  mounted() {
    this.getRow();
  },
  methods: {
    getRow(){
      this.row = this.$route.query.shiren1;
      console.log(this.row);
    },
    back(){
      this.$router.go(-1);//返回上一层
    },
    imgUrl(url){
      return require("../../assets"+url);
    },

  }
}
</script>
